package typejump.engine;

import java.awt.Graphics2D;

/**
 * Represents a drawable object
 * @author g
 *
 */
public interface Drawable {
	/** Gets the x-coordinate of this object. The object assumes
	 * the graphics object has been translated to this point
	 * before drawing.
	 * @return
	 */
	public int getTranslateX();
	/** Gets the y-coordinate of this object. The object assumes
	 * the graphics object has been translated to this point
	 * before drawing.
	 * @return
	 */
	public int getTranslateY();
	/** Returns whether this object is currently visible */
	public boolean paintEnabled();
	/** Paints the object on the given Graphics2D object */
	public void paint(Graphics2D g);
}
